import React from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import { connect } from 'dva';
import { Tabs, Button, Card } from 'antd';
import { Link } from 'dva/router';

class Index extends React.Component {
    componentDidMount() {
        //this.props.dispatch({ type: 'index/initTag' })
    }
    render() {
        return (
            <div className="IContent">
                首页
            </div>)
    }
}
Index.propTypes = {
    dispatch: PropTypes.func
}

export default connect(({ dispatch }) => ({ dispatch }))(Index);